import request from '../request.js'

function type() {
    return request.get('/api/sys/message/type')
}

function list(query) {
    return request.get('/api/sys/message/list', query)
}

function detail(query) {
    return request.get('/api/sys/message/detail', query)
}

export default {
    type,
    list,
    detail
}

